@import "common.scss";

@include load;

.mai-icon {
  background: $green;
  color: #fff;
  @include circle(40px);
}

p {
  line-height: 40px;
}

/*home*/
#home {
  margin-top: 70px;
  @include background-image("../imgs/home-bg.jpg");
  color: $white;
  text-align: center;

  .lvjing {
    @include lvjing;
  }

  h1 {
    margin-bottom: 25px;
  }
  p {
    line-height: 35px;
  }
  img {
    margin-top: 30px;
    display: inline-block;
  }
}

/*article*/
#article {
  padding: $padding;
  
  .col-md-3 {
    margin-bottom: 20px;

    .course {
      background: $gray;
      text-align: center;

      .btn {
        background: transparent;
        border: 1px solid $green;
        @include more(border-radius, 0);
        color: $green;
        transition: all 0.3s;
        width: 100%;
        color: $green;
        margin: 10px 0;
        transition: all 0.3s;
        overflow: hidden;

        &:hover {
          background: $green;
          color: $white;
        }
      }
    }
  }
}

/*HTML5 + bootstrap*/
#html5,
#bootstrap {
  padding: $padding;

  h2 {
    font-weight: bold;
  }
  p {
    display: flex;
    align-items: center;
    line-height: 25px;

    span {
      margin-right: 6px;
    }
  }
}
#html5 {
  background: $gray;
}

/*contact*/
#contact {
  color: $white;
  @include background-image("../imgs/contact-bg.png");

  .lvjing {
    @include lvjing;
  }

  h2 {
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 25px;
  }
  p {
    line-height: 25px;
    margin-bottom: 20px;
  }
  .form-control {
    border: none;
    border-radius: 0;
    height: 50px;
    margin-bottom: 20px;
  }
  textarea.form-control {
    height: auto;
  }
  input[type="submit"] {
    background: $green;
    color: $white;
    font-weight: bold;
    transition: all 0.3s;
    &:hover {
      background: $green-dark;
    }
  }
}
